﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;
using System.Data.SqlClient;

namespace BUS
{
    public class ThongKeBUS
    {
        ThongKeDAO tkBus = new ThongKeDAO();
        public List<ThongKeDTO> LaySoLuongNhap_Ngay(ThongKeDTO tk)
        {
            
            return tkBus.LaySoLuongNhap_Ngay(tk);
        }
        public List<ThongKeDTO> LaySoLuongBan_Ngay(ThongKeDTO tk)
        {
            return tkBus.LaySoLuongBan_Ngay(tk);
        }
        public int LaySoLuongDonHang(ThongKeDTO tk)
        {
            return tkBus.LaySoLuongDonHang(tk);
        }
        public List<ThongKeDTO> LaySoLuongTonKho(ThongKeDTO tk)
        {
            return tkBus.LaySoLuongTonKho(tk);
        }
        public int TinhTongThuNhap(DateTime ngay)
        {
            return tkBus.TinhTongThuNhap(ngay);
        }
    }
}
